package cn.gjh.bookmanager.mapper;

import cn.gjh.bookmanager.entity.Ebookentry;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EbookentryMapper {


    int insert(Ebookentry record);

    int insertSelective(Ebookentry record);

    Ebookentry selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Ebookentry record);

    int updateByPrimaryKey(Ebookentry record);





    int delete(@Param("id") Integer id);



    List<Ebookentry> queryEbookEntryList(@Param("categroyid") Integer categroyid,
                                         @Param("starNum") Integer starNum,
                                         @Param("pageSize") Integer pageSIze);

    int updateEbookentry(Ebookentry ebookentry);

    int insertEbookentry(Ebookentry ebookentry);
}